package com.maybach.core.form.order;

import com.maybach.common.model.CarSnapDO;
import com.maybach.common.model.LoanOrderDO;
import com.maybach.common.model.OrderDO;
import com.maybach.common.model.UserDO;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by houenxun on 16/2/23.
 */
public class EditLoanOrderForm implements Serializable {
    private static final long serialVersionUID = 1L;


    private UserDO userDO;

    private LoanOrderDO loanOrderDO;

    private CarSnapDO carSnapDO;

    private OrderDO orderDO;

    private Long id; // 订单宝ID

    private String orderNo; // 订单编号(订单宝编号)

    private Long orderId; // 订单ID;

    private Integer carType; // 车源类型

    private String customMdel; // 自定义车型

    private Long brandId; // 品牌

    private Long seriesId;  // 车系

    private Long carId; // 车辆ID

    private Long modelId; // 车型ID

    private String modelName;  // 车型名称

    private String outColor;  // 外饰

    private String innerColor; // 内饰

    private String totalAmount;
    /**
     * This field corresponds to the database column b2b_loan_order.loan_amount
     */
    private String loanAmount;    // 垫资金额

    /**
     * This field corresponds to the database column b2b_loan_order.desposit_amount
     */
    private String despositAmount;    // 定金金额

    /**
     * This field corresponds to the database column b2b_loan_order.margin_amount
     */
    private String marginAmount;    // 保证金额
    @NotNull(message = "定金支付时间不能为空")
    private String despositPayTime; //定金支付时间

    private List<String> despositImgs; // 定金凭证

    private List<String> daifuImgs; // 代付证明

    private String memo;  // 备注

    private String manager; //业务经理

    private String buyer; // 申请人

    private String dealerName; // 申请公司
    @NotNull(message = "申请时间不能为空")
    private String applyTime; // 申请时间

    private Integer carOriginType; // 车源类型

    private Long outerId; // 外观ID

    private Long innerId; // 内饰ID

    private Integer carNum; // 车辆数量

    private String mobile; // 联系电话

    private Long buyerId; // 购买人Id

    private BigDecimal interestRate; //日利率

    public BigDecimal getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }

    public UserDO getUserDO() {
        return userDO;
    }

    public void setUserDO(UserDO userDO) {
        this.userDO = userDO;
    }

    public LoanOrderDO getLoanOrderDO() {
        return loanOrderDO;
    }

    public void setLoanOrderDO(LoanOrderDO loanOrderDO) {
        this.loanOrderDO = loanOrderDO;
    }

    public CarSnapDO getCarSnapDO() {
        return carSnapDO;
    }

    public void setCarSnapDO(CarSnapDO carSnapDO) {
        this.carSnapDO = carSnapDO;
    }

    public OrderDO getOrderDO() {
        return orderDO;
    }

    public void setOrderDO(OrderDO orderDO) {
        this.orderDO = orderDO;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getCarType() {
        return carType;
    }

    public void setCarType(Integer carType) {
        this.carType = carType;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(Long seriesId) {
        this.seriesId = seriesId;
    }

    public String getOutColor() {
        return outColor;
    }

    public void setOutColor(String outColor) {
        this.outColor = outColor;
    }

    public String getInnerColor() {
        return innerColor;
    }

    public void setInnerColor(String innerColor) {
        this.innerColor = innerColor;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(String loanAmount) {
        this.loanAmount = loanAmount;
    }

    public String getDespositAmount() {
        return despositAmount;
    }

    public void setDespositAmount(String despositAmount) {
        this.despositAmount = despositAmount;
    }

    public String getMarginAmount() {
        return marginAmount;
    }

    public void setMarginAmount(String marginAmount) {
        this.marginAmount = marginAmount;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }


    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public Integer getCarOriginType() {
        return carOriginType;
    }

    public void setCarOriginType(Integer carOriginType) {
        this.carOriginType = carOriginType;
    }

    public Long getOuterId() {
        return outerId;
    }

    public void setOuterId(Long outerId) {
        this.outerId = outerId;
    }

    public Long getInnerId() {
        return innerId;
    }

    public void setInnerId(Long innerId) {
        this.innerId = innerId;
    }

    public Integer getCarNum() {
        return carNum;
    }

    public void setCarNum(Integer carNum) {
        this.carNum = carNum;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public List<String> getDespositImgs() {
        return despositImgs;
    }

    public void setDespositImgs(List<String> despositImgs) {
        this.despositImgs = despositImgs;
    }

    public List<String> getDaifuImgs() {
        return daifuImgs;
    }

    public void setDaifuImgs(List<String> daifuImgs) {
        this.daifuImgs = daifuImgs;
    }

    public String getCustomMdel() {
        return customMdel;
    }

    public void setCustomMdel(String customMdel) {
        this.customMdel = customMdel;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public String getDespositPayTime() {
        return despositPayTime;
    }

    public void setDespositPayTime(String despositPayTime) {
        this.despositPayTime = despositPayTime;
    }
}
